<?php
include_once('../model/connect.php');
include_once ('../model/Student/class-student.php');
session_start();

$studentid = $_POST['studentid'];
$courseid = $_POST['courseid'];
////
$sql = "DELETE FROM `courseregistration` WHERE `COURSE_ID` like '".$courseid."' AND `STUDENT_ID` like '".$studentid."'";

mysql_query($sql);
	
header("location:http:/educational/student-course-result.php");
mysql_close($conn);

?>